package com.lh.runmanage.service.Impl;

import com.lh.runmanage.dao.ProductMapper;
import com.lh.runmanage.model.ProductModel;
import com.lh.runmanage.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：梁昊，后端工程师：梁昊
 * @create 2021-07-24 14:53
 * @function
 * @editLog
 */
@SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
@Service
public class ProductServiceImpl implements ProductService {
    @Autowired
    ProductMapper productMapper;
    /**
     * 展示端方法：P2
     *
     * @return 产品列表
     */
    @Override
    public List<ProductModel> selectProduct() {
        return productMapper.selectProduct();
    }
}
